<template>
  <div class="homepage-wrapper">
    <!-- 头部 -->
    <c-header></c-header>
    <!-- 左侧菜单 -->
    <c-menu />
    <!-- router-view -->
    <c-content />
  </div>
</template>

<script>
// 1. 引入组件文件
// 2. 注册组件
// 3. 通过注册的标签在页面上使用
import CHeader from "./children/Header";
import CMenu from "./children/Menu";
import CContent from "./children/Content";

export default {
  components: {
    CHeader,
    CMenu,
    CContent
  }
};
</script>

<style lang="less" scoped>
.homepage-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
</style>